/**
 * 
 */
package com.wy2.generator.config;

/**
 * @author nnsword
 * @date 2017-12-11 20:51:58
 *
 */
public final class DatabaseConsts {
	
	
	public final static String CONNECT_SCHEMA="schema";
	public final static String CONNECT_CATALOG="catalog";
	public final static String CONNECT_USER="user";
	public final static String CONNECT_PASSWORD="password";

	public final static String CONFIG_CONNECT_DBTYPE="jdbc.dbtype";
	/**
	 * 配置 连接的schema
	 */
	public final static String CONFIG_CONNECT_SCHEMA="jdbc.schema";
	public final static String CONFIG_CONNECT_CATALOG="jdbc.catalog";	
	public final static String CONFIG_CONNECT_USER_ID="jdbc.userId";
	public final static String CONFIG_CONNECT_PASSWORD="jdbc.password";
	public final static String CONFIG_CONNECT_CONNECTION_URL="jdbc.connectionURL";
	public final static String CONFIG_CONNECT_DRIVER_CLASS="jdbc.driverClass";
	
	public final static String DB_META_TABLE_CAT="TABLE_CAT";
	public final static String DB_META_TABLE_SCHEM="TABLE_SCHEM";
	public final static String DB_META_TABLE_NAME="TABLE_NAME";
	public final static String DB_META_TABLE_TYPE="TABLE_TYPE";
	public final static String DB_META_TABLE_REMARKS="REMARKS";
	
	public final static String DB_META_TABLE_TYPE_TABLE="TABLE";
	public final static String DB_META_TABLE_TYPE_VIEW="VIEW";
	
	public final static String DB_META_COLUMN_NAME="COLUMN_NAME";
	public final static String DB_META_COLUMN_TYPE_NAME="TYPE_NAME";
	public final static String DB_META_COLUMN_DATA_TYPE="DATA_TYPE";
	public final static String DB_META_COLUMN_REMARKS="REMARKS";
	public final static String DB_META_COLUMN_NULLABLE="NULLABLE";
	public final static String DB_META_COLUMN_SIZE="COLUMN_SIZE";
	public final static String DB_META_COLUMN_DECIMAL_DIGITS="DECIMAL_DIGITS";
	public final static String DB_META_COLUMN_DEFAULT_VALUE="COLUMN_DEF";
	public final static String DB_META_COLUMN_IS_AUTOINCREMENT="IS_AUTOINCREMENT";
	public final static String DB_META_COLUMN_IS_GENERATEDCOLUMN="IS_GENERATEDCOLUMN";
	public final static String DB_META_COLUMN_YES="YES";
	public final static String DB_META_COLUMN_KEY_SEQ="KEY_SEQ";
	
	public final static String PROPERTIES_TABLE_PREFIX="properties.table.prefix";
	public final static String PROPERTIES_TABLE_PREFIX_Default="tb_,tbl_,t_";
}
